﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;

namespace KC.DataAccess.Net
{
	public static class Net
	{
		/// <summary>A silly proxy method that only exists for the sake of being able to say I did this nonsense on the data access layer... pfft...</summary>
		/// <param name="url">url to download</param>
		/// <returns>string containing the html at the target url</returns>
		public static string DownloadPage(string url) 
		{ return new WebClient().DownloadString(url); }
	}
}
